package cn.lingnan.entity.goods;

import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Document(collection = "goods")
public class Goods {

        private int goods_id;
        private String goods_name;
        private double goods_price;
        private String goods_logo;
        private List<Pics> pics;
        private List<String> goods_content;
        private Goods_type goods_type;
        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }
        public int getGoods_id() {
            return goods_id;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }
        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_price(double goods_price) {
            this.goods_price = goods_price;
        }
        public double getGoods_price() {
            return goods_price;
        }

        public void setGoods_logo(String goods_logo) {
            this.goods_logo = goods_logo;
        }
        public String getGoods_logo() {
            return goods_logo;
        }

        public void setPics(List<Pics> pics) {
            this.pics = pics;
        }
        public List<Pics> getPics() {
            return pics;
        }

        public void setGoods_content(List<String> goods_content) {
            this.goods_content = goods_content;
        }
        public List<String> getGoods_content() {
            return goods_content;
        }

        public void setGoods_type(Goods_type goods_type) {
            this.goods_type = goods_type;
        }
        public Goods_type getGoods_type() {
            return goods_type;
        }


}
